package com.yuedou.api.service.wxuser;

import com.yuedou.api.entity.wxuser.User;
import com.yuedou.api.entity.wxuser.UserAddress;
import com.yuedou.api.service.base.BaseService;

public interface UserAddressService extends BaseService<UserAddress> {

    UserAddress selectDefaultAddress(Integer user_id);

    int updateAllAddressToNoDefault(Integer userid);

    int addAddress(User user,UserAddress userAddress);

    int editAddress(User user,UserAddress userAddress);
}
